<span class="btn-group left-col-dropdown" style="margin-top:18px;">
  <%= link_to content_tag(:small, '', class: 'fas fa-ellipsis-v ticket-ellipsis btn'), '#', class: 'dropdown-toggle', data: { toggle: 'dropdown' }%>
  <ul class="dropdown-menu dropdown-menu-right" role="menu">
    <li><%= link_to t(:open_new_discussion, default: 'Open Discussion'), new_admin_topic_path(user_id: user.id), remote: true, class: '' if tickets? %></li>
    <li><%= link_to t(:edit_user, default: 'Edit User'), edit_admin_user_path(user), remote: false if user.can_be_edited? current_user %></li>
    <li><%= link_to t(:scrub_user, default: 'Anonymize User'), admin_scrub_user_path(user), remote: true,
                    method: :post,
                    data: { confirm: "Are you sure you want to anonymize #{user.name}? This will anonymize the user and retain all of their public discussions." } if current_user.is_admin? && user.can_scrub_and_delete? %></li>
    <li><%= link_to t(:delete_user, default: 'Delete User'), admin_user_path(user), remote: true,
                    method: :delete,
                    data: { confirm: "Are you sure you want to delete #{user.name}? This will remove the user an any tickets or forum topics the user has created." } if current_user.is_admin? && user.can_scrub_and_delete? %></li>
  </ul>
</span>
